package cn.ycc1.bean;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author ycc
 * @date 2024/7/8
 */
public class Test {
    public static void main(String[] args) {
//        System.out.println("hello");
        ApplicationContext ac = new ClassPathXmlApplicationContext("beans.xml");
//        PersonService personService = (PersonService) ac.getBean("personService", PersonService.class);
//        personService.show();
    }
}
